﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace LcAudit.BPM.Core.Bll
{
    public class materialprice
    {
        LcAudit.BPM.Core.Dal.materialprice dal = new Dal.materialprice();

        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Insert(LcAudit.BPM.Core.Model.materialpriceinfo model)
        {
            return dal.Add(model);
        }
        
        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetList(string sql, string strWhere)
        {
            return dal.GetList(sql, strWhere);
        }
    }
}
